//
//  Fraction.h
//  RunCloundA
//
//  Created by ChenXiaWen on 16/4/5.
//  Copyright © 2016年 ChenXiaWen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>

@interface Fraction : NSObject <CBCentralManagerDelegate, CBPeripheralDelegate>
{
    int number;
    int count;
  
    
    CBCentralManager *centralManager;
    
    NSMutableData *mutableData;
    
    CBPeripheral *find_peripheral;
    
    NSMutableArray* peripheral_array;
}

@property(strong,nonatomic)CBCentralManager *centralManager;

@property(strong,nonatomic)NSMutableData *mutableData;

@property(strong,nonatomic)CBPeripheral *find_peripheral;


-(void) print;
-(void) connectDevice;

@end
